<?php $linkText = __('SHOW_ALL', true) . "&nbsp;&nbsp;&nbsp;";
?>
<div class="right-panel">
    <h3><?php echo __('DASHBOARD'); ?></h3>
    <!--mid-widget-Start-->
    <div class="mid-widget">
        

    </div>
    <!--mid-widget-End-->
    <!--right-nav-Start-->
    <div class="right-nav">
        <?php echo $this->session->flash(); ?>
        <!--container Start-->
        <div class="container">
            <h5><?php echo __('WELCOME'); ?></h5>
            <h2><?php echo __('MESSAGE_BOARD'); ?></h2>
            <div id="myMessage">
                 <?php echo $this->element('users/message_board'); ?>
            </div>
            <p>&nbsp;</p>
            <h2><?php echo __('MY_MESSAGE'); ?></h2>
            <div id="myMessage">
                 <?php echo $this->element('users/user_message'); ?>
            </div>
            
            <?php
            if($roleId != 5 && $roleId != 6){
            ?>
            <p>&nbsp;</p>
            <h2><?php echo __('ASSOCIATED_USER'); ?></h2>
            <div id="associatedUser">
                 <?php echo $this->element('users/associated_users_list'); ?>
            </div>
            <?php }?>
        </div>
        <!--container End-->


        <!--container Start-->

        <div class="container">
            <!--
                  <h5><?php __('SOFTWARE_UPDATES') ?></h5>
                  <div class="top-corner"><span></span></div>
                       <div class="details2">
                             <ul>
                                   <li><a href="#">Circular Posted</a></li>                        
                                   <li><a href="#">Circular Posted</a></li>
                             </ul>
                       </div>
                 <div class="bottom-corner"><span></span></div>
            -->
        </div>
        <!--container End-->
    </div>
    <!--right-nav-End-->
</div>
